#ifdef	_TB_MCU_PROTOCAL_


#ifndef _PROTOCAL_DRV_H_
#define _PROTOCAL_DRV_H_
#include "CESeries.h"
#include "HCNProtocal.h"

class CProtocalDrv
{
public:
	CProtocalDrv(void);
    virtual ~CProtocalDrv(void);
	void InitMCUComm();
	void DeInitMCUComm();
	static void OnSeriesRead(DWORD pThis, BYTE *buf, long bufLen);
	void TBBufDataAnalyse(BYTE* RcvData, long RcvLength);
	void TBFrameDataAnalyse(BYTE* RcvData,long RcvLength);
public:
	CCESeries m_SeriesMCU;
	CProtocal m_HCNProtocal;
};
#endif

#endif